<a href="https://github.com/zhaohongxuan/obsidian-weread-plugin/wiki/Weread-obsidian-plugin-markdown-template-usage">模板使用说明</a>

<h3>功能开关</h3>
<p><strong>✂️ 自动去空白：</strong>开启后会自动移除模板标签（{% %}）前后的换行和空格，让你可以用缩进写出更易读的模板代码。</p>
<p><strong>📝 Markdown渲染：</strong>开启后右侧预览会渲染为格式化的 Markdown，关闭则显示原始文本。</p>

<h2>可用变量</h2>
元数据变量(metaData)
<ul>
  <li><span class="u-pop">{{title}}</span> - 书名</li>
  <li><span class="u-pop">{{author}}</span> - 作者</li>
  <li><span class="u-pop">{{cover}}</span> - 封面</li>
  <li><span class="u-pop">{{intro}}</span> - 书籍简介</li>
  <li><span class="u-pop">{{bookId}}</span> - 微信图书ID </li>
  <li><span class="u-pop">{{publishTime}}</span> - 出版时间</li>
  <li><span class="u-pop">{{noteCount}}</span> - 划线数量</li>
  <li><span class="u-pop">{{reviewCount}}</span> - 笔记数量</li>
  <li><span class="u-pop">{{isbn}}</span> - ISBN</li>
  <li><span class="u-pop">{{category}}</span> - 分类</li>
  <li><span class="u-pop">{{publisher}}</span> - 出版社</li>
  <li><span class="u-pop">{{readInfo}}</span> - 阅读信息, 点击查看详情</li>
</ul>
划线变量(chapterHighlights)
<ul>
  <li><span class="u-pop">{{chapterUid}}</span> - 章节ID</li>
  <li><span class="u-pop">{{chapterTitle}}</span> - 章节标题</li>
  <li><span class="u-pop">{{createTime}}</span> - 创建时间</li>
  <li><span class="u-pop">{{range}}</span> - 划线范围</li>
  <li><span class="u-pop">{{markText}}</span> - 划线文本</li>
</ul>
笔记笔记(bookReview)
<ul>
  <li><span class="u-pop">{{reviewId}}</span> - reviewId</li>
  <li><span class="u-pop">{{chapterUid}}</span> - 章节ID</li>
  <li><span class="u-pop">{{chapterTitle}}</span> - 章节标题</li>
  <li><span class="u-pop">{{createTime}}</span> - 创建时间</li>
  <li><span class="u-pop">{{abstract}}</span> - 摘录内容</li>
  <li><span class="u-pop">{{content}}</span> - 笔记内容</li>
  <li><span class="u-pop">{{mdContent}}</span> - markdown笔记格式</li>
  <li><span class="u-pop">{{type}}</span> - 类型</li>
  <li><span class="u-pop">{{range}}</span> - 范围</li>
</ul>
